home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir30 / pcdcad.zip / BBSINST.BAT next >
DOS Batch File  |  1994-03-31  |  4KB  |  106 lines

  1. echo off
  2. cls
  3. :restart
  4. echo\
  5. echo       ┌────────────────────────────────────────────────────────────┐
  6. echo       │     PC-Draft-CAD   Installation  (BBS  version)            │
  7. echo       │                                                            │
  8. echo       │     This will create a PCDCAD sub-directory on your        │
  9. echo       │     current disk. To install on your current hard disk     │
  10. echo       │                                                            │
  11. echo       │ 1 - Unzip PCDCAD.ZIP in a temporary directory or floppy.   │
  12. echo       │                                                            │
  13. echo       │ 2 - Make your hard disk root directory current.            │
  14. echo       │     ie: for the C: drive: enter: [C:] and [CD \]           │
  15. echo       │                                                            │
  16. echo       │ 3 - Run BBSINST [tempdir] for example if PCDCAD.ZIP is in  │
  17. echo       │     C:\TEMP, run TEMP\BBSINST C:\TEMP. If on the A: drive, │
  18. echo       │     run A:BBSINST A:                                       │
  19. echo       │     This will extract all the files from the self-         │
  20. echo       │     extracting LHARC files and will create a START.BAT     │
  21. echo       │     file apropriate for your display system.               │
  22. echo       │                                                            │
  23. echo       │     This batch file is for those of you who got            │
  24. echo       │     PC-Draft-CAD as a single ZIP file from a BBS           │
  25. echo       │                                                            │
  26. echo       │     If you do not wish to continue, press Ctrl-C.          │
  27. echo       └────────────────────────────────────────────────────────────┘
  28. echo\
  29. pause
  30. if exist %1\pcdcad1.exe goto continue
  31. echo  Invalid source drive or directory, Please check and try again.
  32. goto restart
  33. :continue
  34. md pcdcad
  35. md pcdcad\fon
  36. md pcdcad\dwg
  37. md pcdcad\lib
  38. md pcdcad\mac
  39. cd pcdcad
  40. %1\pcdcad3
  41. %1\pcdcad2
  42. %1\pcdcad1
  43. copy *.fon fon
  44. del *.fon
  45. copy *.dwg dwg
  46. del *.dwg
  47. copy *.lib lib
  48. del *.lib
  49. copy *.mac mac
  50. del *.mac
  51. cls
  52. vidtest
  53. if errorlevel 7 goto HERCULES
  54. if errorlevel 5 goto VGACOLOR
  55. if errorlevel 4 goto VGAMONO
  56. if errorlevel 3 goto EGACOLOR
  57. if errorlevel 2 goto EGAMONO
  58. if errorlevel 1 goto CGA
  59. echo   Error in detecting video adapter
  60. goto exit2
  61. :HERCULES
  62. set vtype=Hercules
  63. copy hgcstart.bat start.bat
  64. del vgadrv.com
  65. del cgadrv.com
  66. del svgadrv.com
  67. goto exit
  68. :VGACOLOR    
  69. set vtype=VGA-Color
  70. goto VGA
  71. :EGACOLOR
  72. set vtype=EGA-Color
  73. goto VGA
  74. :VGAMONO    
  75. set vtype=VGA-Mono
  76. copy cga.cfg draft3.cfg
  77. goto MONO
  78. :EGAMONO    
  79. set vtype=EGA-Mono
  80. :MONO
  81. copy cga.cfg draft3.cfg
  82. :VGA
  83. copy vgastart.bat start.bat
  84. del hgcdrv.exe
  85. goto exit
  86. :CGA
  87. set vtype=CGA
  88. copy cgastart.bat start.bat
  89. copy cga.cfg draft3.cfg
  90. :exit
  91. echo             You have a %vtype% type video display
  92. :exit2
  93. set src=
  94. set vtype=
  95. echo\
  96. echo       ┌────────────────────────────────────────────────────────────┐
  97. echo       │  Installation is complete. To start PC-Draft-CAD, enter:   │
  98. echo       │                                                            │
  99. echo       │                       START                                │
  100. echo       │                                                            │
  101. echo       │  To print the user manual, type: COPY DRAFT3.DOC PRN       │
  102. echo       │  To print READ.ME1, type: COPY READ.ME1 PRN                │
  103. echo       └────────────────────────────────────────────────────────────┘
  104. echo\
  105. echo\
  106.